package com.qumitech.visualnovel.datasource.console;

import com.qumitech.visualnovel.model.dao.console.DeviceActiveRemainStatistics;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceActiveRemainStatisticsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DeviceActiveRemainStatistics record);

    int insertSelective(DeviceActiveRemainStatistics record);

    DeviceActiveRemainStatistics selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DeviceActiveRemainStatistics record);

    int updateByPrimaryKey(DeviceActiveRemainStatistics record);

    List<DeviceActiveRemainStatistics> getActiveRemainDeviceList(@Param("startTime") String startTime,
                                                                 @Param("endTime") String endTime,
                                                                 @Param("appName") String appName,
                                                                 @Param("channel") String channel,
                                                                 @Param("appVersion") String appVersion,
                                                                 @Param("system") String system);
}